<template>
	<view class="myvolunteer">
		<u-subsection :list="list" @change="setchange" :current="cur"></u-subsection>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				list:['已完成','已报名','已取消'],
				cur:0
			}
		},
		methods: {
			setchange(index){
				this.cur=index
			}
		}
	}
</script>

<style>

</style>
